[INFO] fetching crate diffy 0.5.0...
[INFO] fixing diffy-0.5.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] extracting crate diffy 0.5.0 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate diffy 0.5.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate diffy 0.5.0
[INFO] tweaked toml for crates.io crate diffy 0.5.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate diffy 0.5.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate diffy 0.5.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded snapbox-macros v0.4.0
[INFO] [stderr]   Downloaded snapbox v0.6.24
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1d8046609e7c3cf747ffda810f56155957c45d517765c9715e8df207e62ce2bf
[INFO] running `Command { std: "docker" "start" "1d8046609e7c3cf747ffda810f56155957c45d517765c9715e8df207e62ce2bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1d8046609e7c3cf747ffda810f56155957c45d517765c9715e8df207e62ce2bf" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1d8046609e7c3cf747ffda810f56155957c45d517765c9715e8df207e62ce2bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1d8046609e7c3cf747ffda810f56155957c45d517765c9715e8df207e62ce2bf" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.184
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]     Checking hashbrown v0.17.0
[INFO] [stderr]     Checking content_inspector v0.2.4
[INFO] [stderr]     Checking rayon-core v1.12.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking snapbox-macros v0.4.0
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking diffy v0.5.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking filetime v0.2.27
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking snapbox v0.6.24
[INFO] [stdout] error[E0433]: cannot find `std` in the crate root
[INFO] [stdout]    --> src/patch/tests.rs:679:13
[INFO] [stdout]     |
[INFO] [stdout] 679 |             str!["error parsing patch at byte 28: unable to parse hunk header"]
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `std` in the list of imported crates
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:315:14
[INFO] [stdout]     |
[INFO] [stdout] 314 | #[cfg(feature = "std")]
[INFO] [stdout]     |       --------------- the item is gated behind the `std` feature
[INFO] [stdout] 315 | extern crate std;
[INFO] [stdout]     |              ^^^
[INFO] [stdout]     = note: this error originates in the macro `$crate::utils::cargo_rustc_current_dir` which comes from the expansion of the macro `str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `std` in the crate root
[INFO] [stdout]    --> src/patch/tests.rs:679:13
[INFO] [stdout]     |
[INFO] [stdout] 679 |             str!["error parsing patch at byte 28: unable to parse hunk header"]
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `std` in the list of imported crates
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:315:14
[INFO] [stdout]     |
[INFO] [stdout] 314 | #[cfg(feature = "std")]
[INFO] [stdout]     |       --------------- the item is gated behind the `std` feature
[INFO] [stdout] 315 | extern crate std;
[INFO] [stdout]     |              ^^^
[INFO] [stdout]     = note: this error originates in the macro `$crate::utils::cargo_rustc_current_dir` which comes from the expansion of the macro `str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `std` in the crate root
[INFO] [stdout]    --> src/patch/tests.rs:679:13
[INFO] [stdout]     |
[INFO] [stdout] 679 |             str!["error parsing patch at byte 28: unable to parse hunk header"]
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `std` in the list of imported crates
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:315:14
[INFO] [stdout]     |
[INFO] [stdout] 314 | #[cfg(feature = "std")]
[INFO] [stdout]     |       --------------- the item is gated behind the `std` feature
[INFO] [stdout] 315 | extern crate std;
[INFO] [stdout]     |              ^^^
[INFO] [stdout]     = note: this error originates in the macro `$crate::utils::current_rs` which comes from the expansion of the macro `str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `std` in the crate root
[INFO] [stdout]    --> src/patch/tests.rs:695:13
[INFO] [stdout]     |
[INFO] [stdout] 695 |             str!["error parsing patch at byte 28: hunk header does not match hunk"]
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `std` in the list of imported crates
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:315:14
[INFO] [stdout]     |
[INFO] [stdout] 314 | #[cfg(feature = "std")]
[INFO] [stdout]     |       --------------- the item is gated behind the `std` feature
[INFO] [stdout] 315 | extern crate std;
[INFO] [stdout]     |              ^^^
[INFO] [stdout]     = note: this error originates in the macro `$crate::utils::cargo_rustc_current_dir` which comes from the expansion of the macro `str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `std` in the crate root
[INFO] [stdout]    --> src/patch/tests.rs:695:13
[INFO] [stdout]     |
[INFO] [stdout] 695 |             str!["error parsing patch at byte 28: hunk header does not match hunk"]
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `std` in the list of imported crates
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:315:14
[INFO] [stdout]     |
[INFO] [stdout] 314 | #[cfg(feature = "std")]
[INFO] [stdout]     |       --------------- the item is gated behind the `std` feature
[INFO] [stdout] 315 | extern crate std;
[INFO] [stdout]     |              ^^^
[INFO] [stdout]     = note: this error originates in the macro `$crate::utils::cargo_rustc_current_dir` which comes from the expansion of the macro `str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `std` in the crate root
[INFO] [stdout]    --> src/patch/tests.rs:695:13
[INFO] [stdout]     |
[INFO] [stdout] 695 |             str!["error parsing patch at byte 28: hunk header does not match hunk"]
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `std` in the list of imported crates
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:315:14
[INFO] [stdout]     |
[INFO] [stdout] 314 | #[cfg(feature = "std")]
[INFO] [stdout]     |       --------------- the item is gated behind the `std` feature
[INFO] [stdout] 315 | extern crate std;
[INFO] [stdout]     |              ^^^
[INFO] [stdout]     = note: this error originates in the macro `$crate::utils::current_rs` which comes from the expansion of the macro `str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `std` in this scope
[INFO] [stdout]    --> src/diff/tests.rs:764:15
[INFO] [stdout]     |
[INFO] [stdout] 764 |     let now = std::time::Instant::now();
[INFO] [stdout]     |               ^^^ use of unresolved module or unlinked crate `std`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `std` in the crate root
[INFO] [stdout]    --> src/patch/tests.rs:679:13
[INFO] [stdout]     |
[INFO] [stdout] 679 |             str!["error parsing patch at byte 28: unable to parse hunk header"]
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `std` in the list of imported crates
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:315:14
[INFO] [stdout]     |
[INFO] [stdout] 314 | #[cfg(feature = "std")]
[INFO] [stdout]     |       --------------- the item is gated behind the `std` feature
[INFO] [stdout] 315 | extern crate std;
[INFO] [stdout]     |              ^^^
[INFO] [stdout]     = note: this error originates in the macro `$crate::utils::cargo_rustc_current_dir` which comes from the expansion of the macro `str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `std` in the crate root
[INFO] [stdout]    --> src/patch/tests.rs:679:13
[INFO] [stdout]     |
[INFO] [stdout] 679 |             str!["error parsing patch at byte 28: unable to parse hunk header"]
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `std` in the list of imported crates
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:315:14
[INFO] [stdout]     |
[INFO] [stdout] 314 | #[cfg(feature = "std")]
[INFO] [stdout]     |       --------------- the item is gated behind the `std` feature
[INFO] [stdout] 315 | extern crate std;
[INFO] [stdout]     |              ^^^
[INFO] [stdout]     = note: this error originates in the macro `$crate::utils::cargo_rustc_current_dir` which comes from the expansion of the macro `str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `std` in the crate root
[INFO] [stdout]    --> src/patch/tests.rs:679:13
[INFO] [stdout]     |
[INFO] [stdout] 679 |             str!["error parsing patch at byte 28: unable to parse hunk header"]
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `std` in the list of imported crates
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:315:14
[INFO] [stdout]     |
[INFO] [stdout] 314 | #[cfg(feature = "std")]
[INFO] [stdout]     |       --------------- the item is gated behind the `std` feature
[INFO] [stdout] 315 | extern crate std;
[INFO] [stdout]     |              ^^^
[INFO] [stdout]     = note: this error originates in the macro `$crate::utils::current_rs` which comes from the expansion of the macro `str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `std` in the crate root
[INFO] [stdout]    --> src/patch/tests.rs:695:13
[INFO] [stdout]     |
[INFO] [stdout] 695 |             str!["error parsing patch at byte 28: hunk header does not match hunk"]
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `std` in the list of imported crates
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:315:14
[INFO] [stdout]     |
[INFO] [stdout] 314 | #[cfg(feature = "std")]
[INFO] [stdout]     |       --------------- the item is gated behind the `std` feature
[INFO] [stdout] 315 | extern crate std;
[INFO] [stdout]     |              ^^^
[INFO] [stdout]     = note: this error originates in the macro `$crate::utils::cargo_rustc_current_dir` which comes from the expansion of the macro `str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `std` in the crate root
[INFO] [stdout]    --> src/patch/tests.rs:695:13
[INFO] [stdout]     |
[INFO] [stdout] 695 |             str!["error parsing patch at byte 28: hunk header does not match hunk"]
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `std` in the list of imported crates
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:315:14
[INFO] [stdout]     |
[INFO] [stdout] 314 | #[cfg(feature = "std")]
[INFO] [stdout]     |       --------------- the item is gated behind the `std` feature
[INFO] [stdout] 315 | extern crate std;
[INFO] [stdout]     |              ^^^
[INFO] [stdout]     = note: this error originates in the macro `$crate::utils::cargo_rustc_current_dir` which comes from the expansion of the macro `str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `std` in the crate root
[INFO] [stdout]    --> src/patch/tests.rs:695:13
[INFO] [stdout]     |
[INFO] [stdout] 695 |             str!["error parsing patch at byte 28: hunk header does not match hunk"]
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `std` in the list of imported crates
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:315:14
[INFO] [stdout]     |
[INFO] [stdout] 314 | #[cfg(feature = "std")]
[INFO] [stdout]     |       --------------- the item is gated behind the `std` feature
[INFO] [stdout] 315 | extern crate std;
[INFO] [stdout]     |              ^^^
[INFO] [stdout]     = note: this error originates in the macro `$crate::utils::current_rs` which comes from the expansion of the macro `str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `Patch<'a, T>` in the current scope
[INFO] [stdout]    --> src/diff/tests.rs:335:34
[INFO] [stdout]     |
[INFO] [stdout] 335 |         let patch_bytes = bpatch.to_bytes();
[INFO] [stdout]     |                                  ^^^^^^^^ method not found in `Patch<'_, [u8]>`
[INFO] [stdout] ...
[INFO] [stdout] 373 |     assert_patch!(a, b, expected);
[INFO] [stdout]     |     ----------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/patch/mod.rs:39:1
[INFO] [stdout]     |
[INFO] [stdout]  39 | pub struct Patch<'a, T: ToOwned + ?Sized> {
[INFO] [stdout]     | ----------------------------------------- method `to_bytes` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `assert_patch` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `Patch<'a, T>` in the current scope
[INFO] [stdout]    --> src/diff/tests.rs:335:34
[INFO] [stdout]     |
[INFO] [stdout] 335 |         let patch_bytes = bpatch.to_bytes();
[INFO] [stdout]     |                                  ^^^^^^^^ method not found in `Patch<'_, [u8]>`
[INFO] [stdout] ...
[INFO] [stdout] 431 |     assert_patch!(opts, lao, tzu, expected);
[INFO] [stdout]     |     --------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/patch/mod.rs:39:1
[INFO] [stdout]     |
[INFO] [stdout]  39 | pub struct Patch<'a, T: ToOwned + ?Sized> {
[INFO] [stdout]     | ----------------------------------------- method `to_bytes` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `assert_patch` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `Patch<'a, T>` in the current scope
[INFO] [stdout]    --> src/diff/tests.rs:335:34
[INFO] [stdout]     |
[INFO] [stdout] 335 |         let patch_bytes = bpatch.to_bytes();
[INFO] [stdout]     |                                  ^^^^^^^^ method not found in `Patch<'_, [u8]>`
[INFO] [stdout] ...
[INFO] [stdout] 449 |     assert_patch!(opts, lao, tzu, expected);
[INFO] [stdout]     |     --------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/patch/mod.rs:39:1
[INFO] [stdout]     |
[INFO] [stdout]  39 | pub struct Patch<'a, T: ToOwned + ?Sized> {
[INFO] [stdout]     | ----------------------------------------- method `to_bytes` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `assert_patch` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `Patch<'a, T>` in the current scope
[INFO] [stdout]    --> src/diff/tests.rs:335:34
[INFO] [stdout]     |
[INFO] [stdout] 335 |         let patch_bytes = bpatch.to_bytes();
[INFO] [stdout]     |                                  ^^^^^^^^ method not found in `Patch<'_, [u8]>`
[INFO] [stdout] ...
[INFO] [stdout] 469 |     assert_patch!(opts, lao, tzu, expected);
[INFO] [stdout]     |     --------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/patch/mod.rs:39:1
[INFO] [stdout]     |
[INFO] [stdout]  39 | pub struct Patch<'a, T: ToOwned + ?Sized> {
[INFO] [stdout]     | ----------------------------------------- method `to_bytes` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `assert_patch` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `Patch<'a, T>` in the current scope
[INFO] [stdout]    --> src/diff/tests.rs:335:34
[INFO] [stdout]     |
[INFO] [stdout] 335 |         let patch_bytes = bpatch.to_bytes();
[INFO] [stdout]     |                                  ^^^^^^^^ method not found in `Patch<'_, [u8]>`
[INFO] [stdout] ...
[INFO] [stdout] 485 |     assert_patch!(old, new, expected);
[INFO] [stdout]     |     --------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/patch/mod.rs:39:1
[INFO] [stdout]     |
[INFO] [stdout]  39 | pub struct Patch<'a, T: ToOwned + ?Sized> {
[INFO] [stdout]     | ----------------------------------------- method `to_bytes` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `assert_patch` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `Patch<'a, T>` in the current scope
[INFO] [stdout]    --> src/diff/tests.rs:335:34
[INFO] [stdout]     |
[INFO] [stdout] 335 |         let patch_bytes = bpatch.to_bytes();
[INFO] [stdout]     |                                  ^^^^^^^^ method not found in `Patch<'_, [u8]>`
[INFO] [stdout] ...
[INFO] [stdout] 497 |     assert_patch!(old, new, expected);
[INFO] [stdout]     |     --------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/patch/mod.rs:39:1
[INFO] [stdout]     |
[INFO] [stdout]  39 | pub struct Patch<'a, T: ToOwned + ?Sized> {
[INFO] [stdout]     | ----------------------------------------- method `to_bytes` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `assert_patch` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `Patch<'a, T>` in the current scope
[INFO] [stdout]    --> src/diff/tests.rs:335:34
[INFO] [stdout]     |
[INFO] [stdout] 335 |         let patch_bytes = bpatch.to_bytes();
[INFO] [stdout]     |                                  ^^^^^^^^ method not found in `Patch<'_, [u8]>`
[INFO] [stdout] ...
[INFO] [stdout] 509 |     assert_patch!(old, new, expected);
[INFO] [stdout]     |     --------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/patch/mod.rs:39:1
[INFO] [stdout]     |
[INFO] [stdout]  39 | pub struct Patch<'a, T: ToOwned + ?Sized> {
[INFO] [stdout]     | ----------------------------------------- method `to_bytes` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `assert_patch` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `Patch<'a, T>` in the current scope
[INFO] [stdout]    --> src/diff/tests.rs:335:34
[INFO] [stdout]     |
[INFO] [stdout] 335 |         let patch_bytes = bpatch.to_bytes();
[INFO] [stdout]     |                                  ^^^^^^^^ method not found in `Patch<'_, [u8]>`
[INFO] [stdout] ...
[INFO] [stdout] 522 |     assert_patch!(old, new, expected);
[INFO] [stdout]     |     --------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/patch/mod.rs:39:1
[INFO] [stdout]     |
[INFO] [stdout]  39 | pub struct Patch<'a, T: ToOwned + ?Sized> {
[INFO] [stdout]     | ----------------------------------------- method `to_bytes` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `assert_patch` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_patch_into` found for struct `PatchFormatter` in the current scope
[INFO] [stdout]    --> src/diff/tests.rs:542:7
[INFO] [stdout]     |
[INFO] [stdout] 542 |     f.write_patch_into(&bpatch, &mut patch_bytes).unwrap();
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^ method not found in `PatchFormatter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/patch/format.rs:43:1
[INFO] [stdout]     |
[INFO] [stdout]  43 | pub struct PatchFormatter {
[INFO] [stdout]     | ------------------------- method `write_patch_into` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `Patch<'a, T>` in the current scope
[INFO] [stdout]    --> src/diff/tests.rs:335:34
[INFO] [stdout]     |
[INFO] [stdout] 335 |         let patch_bytes = bpatch.to_bytes();
[INFO] [stdout]     |                                  ^^^^^^^^ method not found in `Patch<'_, [u8]>`
[INFO] [stdout] ...
[INFO] [stdout] 645 |     assert_patch!(original, a, expected_diffy);
[INFO] [stdout]     |     ------------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/patch/mod.rs:39:1
[INFO] [stdout]     |
[INFO] [stdout]  39 | pub struct Patch<'a, T: ToOwned + ?Sized> {
[INFO] [stdout]     | ----------------------------------------- method `to_bytes` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `assert_patch` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_patch_into` found for struct `PatchFormatter` in the current scope
[INFO] [stdout]    --> src/diff/tests.rs:683:7
[INFO] [stdout]     |
[INFO] [stdout] 683 |     f.write_patch_into(&bpatch, &mut patch_bytes).unwrap();
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^ method not found in `PatchFormatter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/patch/format.rs:43:1
[INFO] [stdout]     |
[INFO] [stdout]  43 | pub struct PatchFormatter {
[INFO] [stdout]     | ------------------------- method `write_patch_into` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_patch_into` found for struct `PatchFormatter` in the current scope
[INFO] [stdout]    --> src/diff/tests.rs:711:7
[INFO] [stdout]     |
[INFO] [stdout] 711 |     f.write_patch_into(&bpatch, &mut patch_bytes).unwrap();
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^ method not found in `PatchFormatter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/patch/format.rs:43:1
[INFO] [stdout]     |
[INFO] [stdout]  43 | pub struct PatchFormatter {
[INFO] [stdout]     | ------------------------- method `write_patch_into` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `Patch<'a, T>` in the current scope
[INFO] [stdout]    --> src/patch/tests.rs:567:19
[INFO] [stdout]     |
[INFO] [stdout] 567 |     let bytes = b.to_bytes();
[INFO] [stdout]     |                   ^^^^^^^^ method not found in `Patch<'_, [u8]>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/patch/mod.rs:39:1
[INFO] [stdout]     |
[INFO] [stdout]  39 | pub struct Patch<'a, T: ToOwned + ?Sized> {
[INFO] [stdout]     | ----------------------------------------- method `to_bytes` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `Patch<'a, T>` in the current scope
[INFO] [stdout]    --> src/patch/tests.rs:599:19
[INFO] [stdout]     |
[INFO] [stdout] 599 |     let bytes = b.to_bytes();
[INFO] [stdout]     |                   ^^^^^^^^ method not found in `Patch<'_, [u8]>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/patch/mod.rs:39:1
[INFO] [stdout]     |
[INFO] [stdout]  39 | pub struct Patch<'a, T: ToOwned + ?Sized> {
[INFO] [stdout]     | ----------------------------------------- method `to_bytes` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `diffy` (lib test) due to 27 previous errors
[INFO] running `Command { std: "docker" "inspect" "1d8046609e7c3cf747ffda810f56155957c45d517765c9715e8df207e62ce2bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d8046609e7c3cf747ffda810f56155957c45d517765c9715e8df207e62ce2bf", kill_on_drop: false }`
[INFO] [stdout] 1d8046609e7c3cf747ffda810f56155957c45d517765c9715e8df207e62ce2bf
